/* ═══════════════════════════════════════════
   RAC — Repuestos y Servicios para Maquinaria
   styles.css
   ═══════════════════════════════════════════ */

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── VARIABLES ─── */
:root {
  --yellow:      #e6bf23;   
  --yellow-dim:  #B8A85A;   
  --yellow-soft: rgba(212, 196, 131, 0.12);
  --black:       #0D0D0B;
  --dark:        #111110;
  --dark-2:      #1A1A17;
  --dark-3:      #222220;
  --white:       #F7F6F2;   /* blanco cálido, no frío */
  --white-dim:   rgba(247, 246, 242, 0.65);
  --white-ghost: rgba(247, 246, 242, 0.08);
  --line:        rgba(247, 246, 242, 0.09);
  --stone:       #7A7A72;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* ═══════════════════════════════════════════
   INTRO LOADER — animación de entrada
   ═══════════════════════════════════════════ */
#intro-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  transition: opacity .6s ease, visibility .6s ease;
}

#intro-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--white);
  overflow: hidden;
  clip-path: inset(0 100% 0 0);
  animation: revealLogo .9s cubic-bezier(.77,0,.175,1) .2s forwards;
}

.loader-bar {
  width: 0;
  height: 2px;
  background: var(--yellow);
  animation: growBar .8s cubic-bezier(.77,0,.175,1) .3s forwards;
  max-width: 180px;
}

.loader-sub {
  font-size: .7rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--stone);
  opacity: 0;
  animation: fadeText .5s ease .9s forwards;
}

@keyframes revealLogo {
  to { clip-path: inset(0 0% 0 0); }
}

@keyframes growBar {
  to { width: 180px; }
}

@keyframes fadeText {
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════
   HERO ENTRY ANIMATIONS
   (se activan una vez que el loader sale)
   ═══════════════════════════════════════════ */
.hero-eyebrow,
.hero-title,
.hero-sub,
.hero-badge,
.hero-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

body.loaded .hero-eyebrow  { opacity: 1; transform: none; transition-delay: .05s; }
body.loaded .hero-title    { opacity: 1; transform: none; transition-delay: .18s; }
body.loaded .hero-sub      { opacity: 1; transform: none; transition-delay: .32s; }
body.loaded .hero-badge    { opacity: 1; transform: none; transition-delay: .44s; }
body.loaded .hero-actions  { opacity: 1; transform: none; transition-delay: .56s; }

/* ═══════════════════════════════════════════
   NAV
   ═══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 52px;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

nav.scrolled {
  background: rgba(13, 13, 11, .92);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--line);
}

.nav-logo {
  display: flex;
  align-items: center;
  margin-left: -10px;
}

.nav-logo img {
  height: 80px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.nav-logo img {
  transition: transform 0.3s ease;
}

.nav-logo:hover img {
  transform: scale(1.05);
}

.nav-logo span { color: var(--yellow); }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
}

.nav-links a {
  font-size: .73rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--yellow);
  transition: width .3s;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--yellow);
  padding: 11px 26px;
  text-decoration: none;
  transition: background .3s, color .3s;
}

.nav-cta:hover {
  background: var(--yellow-dim);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: .3s;
}

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform .4s ease;
}

.mobile-menu.open { transform: translateX(0); }

/* ─── MOBILE MENU ─── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999; /* <-- Cambia 99 por 9999 */
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform .4s ease;
    color: #fff !important;
    text-decoration: none !important;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    transition: color .3s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
  z-index: 10000; /* <-- Agrega esta línea */
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-img {
  position: absolute;
  inset: 0;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(.45) saturate(.7);
  transform: scale(1.04);
  animation: heroZoom 12s ease-out forwards;
}

.hero-badge{
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    border: 1px solid rgba(255,255,255,0.15);

    color: #d8b11e;
    font-size: 14px;
    font-weight: 600;
}

.Mapa-Costa-Rica{
    display: flex;
    align-items: center;
    justify-content: center;
}

.Mapa-Costa-Rica img{
    width: 40px;
    height: auto;

    display: block;
    object-fit: contain;

    transform: translateY(1px);
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

/* overlay gradientes */
.hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,  rgba(20, 20, 18, 0.96) 0%, rgba(31, 31, 28, 0.3) 50%, transparent 100%),
    linear-gradient(to right, rgba(12, 12, 11, 0.7) 0%, transparent 40%);
}

/* Textura industrial sutil */
.hero-texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4'%3E%3Crect width='1' height='1' fill='rgba(255,255,255,.025)'/%3E%3C/svg%3E");
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 102px 150px;
  max-width: 924px;
}

.hero-eyebrow {
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 44px; height: 1px;
  background: var(--yellow);
}

.hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(3rem, 7.5vw, 6.4rem);
  font-weight: 700;
  line-height: .95;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 28px;
}

.hero-title em {
  font-style: normal;
  color: var(--yellow);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--white-dim);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow-soft);
  border: 1px solid rgba(212, 196, 131, .25);
  padding: 9px 18px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 38px;
  transition: background .3s, transform .3s;
}

.btn-primary:hover {
  background: var(--yellow-dim);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}

.btn-ghost:hover {
  color: var(--yellow);
  border-color: var(--yellow);
}

.hero-scroll {
  position: absolute;
  right: 52px;
  bottom: 88px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: .65rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(247, 246, 242, .35);
}

.scroll-line {
  width: 1px; height: 64px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(.45); opacity: .35; }
}

/* ─── Hero stats bar ─── */
.hero-stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  background: rgba(13,13,11,.6);
  backdrop-filter: blur(12px);
}

.hero-stat {
  padding: 22px 40px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-stat:last-child { border-right: none; }

.hs-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.hs-label {
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════
   SECTION BASE
   ═══════════════════════════════════════════ */
section { padding: 100px 52px; }

.section-label {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px; height: 1px;
  background: var(--yellow);
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--white);
}

.divider {
  width: 56px; height: 2px;
  background: var(--yellow);
  margin: 22px 0;
}

/* ═══════════════════════════════════════════
   NOSOTROS
   ═══════════════════════════════════════════ */
#nosotros {
  background: var(--dark-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.nosotros-img {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
}

.nosotros-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.8);
  transition: transform .8s ease;
}

.nosotros-img:hover img { transform: scale(1.04); }

/* línea decorativa amarilla */
.nosotros-img::after {
  content: '';
  position: absolute;
  bottom: -16px; right: -16px;
  width: 55%; height: 55%;
  border: 2px solid var(--yellow);
  opacity: .4;
  z-index: -1;
}

/* badge flotante */
.nosotros-badge {
  position: absolute;
  bottom: 28px; left: -28px;
  background: var(--yellow);
  color: var(--black);
  padding: 20px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.nosotros-badge small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: .65rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: 4px;
}

.nosotros-text .section-title { color: var(--white); }

.nosotros-text p {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--stone);
  margin-bottom: 20px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
  margin-top: 20px;
}

.stat-item { text-align: center; }

.stat-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 6px;
  line-height: 1.4;
}

#proyectos {
  background: var(--dark);
}
 
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
}
 
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
}
 
.project-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
 
/* Fila superior */
.proj-main {
  grid-column: 1 / 3;
  grid-row: 1;
  aspect-ratio: 16 / 9;
}
 
.proj-tall {
  grid-column: 3;
  grid-row: 1;
  aspect-ratio: unset;     /* se estira para igualar la altura del proj-main */
  min-height: 100%;
}
 
/* Fila inferior — 3 cards exactamente iguales */
.proj-third {
  grid-row: 2;
  aspect-ratio: 4 / 3;
}
 
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.8);
  transition: transform .6s ease, filter .6s ease;
  display: block;
}
 
.project-card:hover img {
  transform: scale(1.07);
  filter: saturate(.9) brightness(.85);
}
 
.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.7) brightness(.8);
  transition: transform .6s ease, filter .6s ease;
  display: block;
}
 
.project-card:hover img {
  transform: scale(1.07);
  filter: saturate(.9) brightness(.85);
}
 
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,11,.92) 0%, rgba(13,13,11,.1) 55%, transparent 100%);
  opacity: 0;
  transition: opacity .4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}
 
.project-card:hover .project-overlay { opacity: 1; }
 
.proj-tag {
  font-size: .62rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 6px;
}
 
.proj-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
 
.proj-loc {
  font-size: .8rem;
  color: var(--white-dim);
  margin-top: 4px;
}
 
.proj-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--yellow);
}
 
.proj-cta::after {
  content: '→';
  transition: transform .3s;
}
 
.project-card:hover .proj-cta::after { transform: translateX(5px); }

/* ═══════════════════════════════════════════
   EMPRESAS (carrusel — ex galería)
   ═══════════════════════════════════════════ */
#galeria {
  background: var(--dark-3);
  padding-top: 72px;
  padding-bottom: 72px;
}

#galeria .section-title { color: var(--white); }

.gallery-track-wrap {
  overflow: hidden;
  margin-top: 52px;
  position: relative;
}

.gallery-track-wrap::before,
.gallery-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.gallery-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--dark-3), transparent);
}

.gallery-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--dark-3), transparent);
}

.gallery-track {
  display: flex;
  align-items: center;
  gap: 0;
  animation: galleryScroll 28s linear infinite;
  width: max-content;
}

.gallery-track:hover { animation-play-state: paused; }

@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Tarjeta de empresa */
.company-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 48px;
  border-right: 1px solid var(--line);
  height: 100px;
  min-width: 200px;
  transition: background .3s;
  flex-shrink: 0;
}

.company-card:hover {
  background: var(--white-ghost);
}

.company-card img {
  max-height: 60x;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  transition: opacity .3s, filter .3s;
}

.company-card:hover img {
  opacity: .85;
}

/* fallback texto si la imagen no carga */
.company-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .35;
  transition: opacity .3s;
  white-space: nowrap;
}

.company-card:hover .company-name { opacity: .85; }

/* ═══════════════════════════════════════════
   SERVICIOS
   ═══════════════════════════════════════════ */
#servicios {
  background: var(--dark-2);
}
 
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 56px;
}
 
.service-card {
  background: var(--dark-3);
  padding: 48px 36px;
  position: relative;
  overflow: hidden;
  transition: background .3s;
  border-top: 2px solid transparent;
}
 
.service-card:hover {
  background: var(--dark);
  border-top-color: var(--yellow);
}
 
.svc-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
  opacity: .7;
}
 
.svc-number {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5rem;
  font-weight: 700;
  color: var(--line);
  position: absolute;
  top: 16px; right: 24px;
  line-height: 1;
  transition: color .3s;
  pointer-events: none;
}
 
.service-card:hover .svc-number { color: rgba(212, 196, 131, .07); }
 
.svc-line {
  width: 32px; height: 2px;
  background: var(--yellow);
  margin-bottom: 20px;
  opacity: .6;
  transition: opacity .3s, width .3s;
}
 
.service-card:hover .svc-line { opacity: 1; width: 48px; }
 
.svc-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: .03em;
}
 
.svc-text {
  font-size: .88rem;
  line-height: 1.8;
  color: var(--stone);
  transition: color .3s;
}
 
.service-card:hover .svc-text { color: rgba(247,246,242,.65); }

/* ═══════════════════════════════════════════
   TESTIMONIOS + ENCUESTA
   ═══════════════════════════════════════════ */

#testimonios {
  background: var(--dark);
}

.tst-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  margin-top: 52px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.testimonial {
  min-height: 230px;
  background: var(--dark-2);
  padding: 34px;
  position: relative;
  border-bottom: 2px solid transparent;
  transition: border-color .3s, transform .3s;
}

.testimonial:hover {
  border-bottom-color: var(--yellow);
  transform: translateY(-2px);
}

.testimonial::before {
  content: '"';
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 5.8rem;
  color: var(--yellow);
  position: absolute;
  top: 10px;
  left: 24px;
  line-height: 1;
  opacity: .12;
}

.testimonial-text {
  font-size: .95rem;
  line-height: 1.68;
  color: var(--white-dim);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.testimonial-author {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  font-weight: 700;
}

.testimonial-co {
  font-size: .7rem;
  color: var(--stone);
  margin-top: 4px;
  letter-spacing: .05em;
}

.tst-right {
  display: grid;
  gap: 12px;
}

.sat-card,
.survey-card,
.winner-link-btn {
  background: var(--dark-2);
  border: 1px solid var(--line);
}

.sat-card {
  padding: 24px;
}

.sat-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.sat-label,
.survey-kicker {
  color: var(--yellow);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.sat-sub {
  margin-top: 5px;
  color: var(--stone);
  font-size: .72rem;
  letter-spacing: .05em;
}

.sat-score {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--white);
  font-size: 2.4rem;
  line-height: .9;
}

.sat-score span {
  color: var(--stone);
  font-size: 1rem;
  margin-left: 3px;
}

.sat-chart {
  height: 132px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
  padding-top: 8px;
}

.sat-col {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.sat-bar {
  width: 100%;
  height: var(--h);
  min-height: 3px;
  background: linear-gradient(180deg, var(--yellow), rgba(255, 208, 0, .35));
  border-radius: 3px 3px 0 0;
}

.sat-col span {
  color: var(--stone);
  font-size: .68rem;
  letter-spacing: .08em;
}

.survey-card {
  padding: 26px 24px;
}

.survey-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin: 10px 0 14px;
}

.survey-desc {
  color: var(--stone);
  font-size: .88rem;
  line-height: 1.65;
  margin: 0;
}

.survey-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  padding: 13px 18px;
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .13em;
  font-size: .68rem;
  font-weight: 800;
  transition: transform .3s, opacity .3s;
}

.survey-btn:hover {
  transform: translateY(-2px);
  opacity: .92;
}

.winner-link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  color: var(--white);
  text-decoration: none;
  transition: border-color .3s, transform .3s;
}

.winner-link-btn:hover {
  border-color: rgba(255, 208, 0, .45);
  transform: translateY(-2px);
}

.winner-link-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--yellow);
  background: rgba(255, 208, 0, .07);
  border: 1px solid rgba(255, 208, 0, .18);
}

.winner-link-btn strong {
  display: block;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.winner-link-btn small {
  display: block;
  margin-top: 4px;
  color: var(--stone);
  font-size: .72rem;
  letter-spacing: .04em;
}

@media (max-width: 980px) {
  .tst-panel {
    grid-template-columns: 1fr;
  }

  .tst-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .survey-card {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .tst-panel {
    margin-top: 38px;
  }

  .testimonials-grid,
  .tst-right {
    grid-template-columns: 1fr;
  }

  .survey-card {
    grid-column: auto;
  }

  .testimonial {
    min-height: auto;
    padding: 30px 26px;
  }
}

/* ─── Chart compacto de satisfacción ─── */

.sat-card {
  padding: 24px;
}

.sat-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.sat-label {
  color: var(--yellow);
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
}

.sat-sub {
  margin-top: 5px;
  color: var(--stone);
  font-size: .72rem;
  letter-spacing: .05em;
}

.sat-score {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--white);
  font-size: 2.4rem;
  line-height: .9;
}

.sat-score span {
  color: var(--stone);
  font-size: 1rem;
  margin-left: 3px;
}

.sat-chart {
  height: 132px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-items: end;
  padding-top: 8px;
}

.sat-col {
  min-width: 0;
  height: 100%;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 8px;
  align-items: end;
  text-align: center;
}

.sat-bar {
  width: 100%;
  height: var(--h);
  min-height: 3px;
  background: linear-gradient(180deg, var(--yellow), rgba(255, 208, 0, .35));
  border-radius: 3px 3px 0 0;
}

.sat-col span {
  color: var(--stone);
  font-size: .68rem;
  letter-spacing: .08em;
}

/* ─── Responsive sección clientes ─── */

@media (max-width: 980px) {
  .tst-panel {
    grid-template-columns: 1fr;
  }

  .tst-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .survey-card {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .tst-panel {
    margin-top: 38px;
  }

  .testimonials-grid,
  .tst-right {
    grid-template-columns: 1fr;
  }

  .survey-card {
    grid-column: auto;
  }

  .testimonial {
    min-height: auto;
    padding: 30px 26px;
  }
}

/* Carrusel compacto de clientes */
#testimonios .tst-panel {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 340px);
  gap: 22px;
  margin-top: 42px;
}

#testimonios .tst-left {
  min-width: 0;
}

#testimonios .reviews-card {
  overflow: hidden;
  background: var(--dark-2);
  border: 1px solid var(--line);
  border-top: 3px solid var(--yellow);
}

#testimonios .reviews-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

#testimonios .reviews-kicker,
#testimonios .reviews-count {
  color: var(--yellow);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

#testimonios .reviews-title {
  margin: 8px 0 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--white);
  text-transform: uppercase;
}

#testimonios .reviews-count {
  flex: 0 0 auto;
  color: var(--stone);
}

#testimonios .testimonials-carousel {
  overflow: hidden;
  padding: 18px 0 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

#testimonios .testimonials-track {
  display: flex;
  width: max-content;
  animation: testimonials-loop 46s linear infinite;
  will-change: transform;
}

#testimonios .testimonials-carousel:hover .testimonials-track,
#testimonios .testimonials-carousel:focus-within .testimonials-track {
  animation-play-state: paused;
}

#testimonios .testimonials-group {
  display: flex;
  gap: 14px;
  flex: 0 0 auto;
  padding-right: 14px;
}

#testimonios .testimonial {
  flex: 0 0 clamp(260px, 30vw, 330px);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, .05);
  border-bottom: 2px solid transparent;
}

#testimonios .testimonial-text {
  flex: 1;
  margin-bottom: 22px;
}

#testimonios .tst-right {
  display: grid;
  gap: 10px;
}

#testimonios .sat-card,
#testimonios .survey-card,
#testimonios .winner-link-btn {
  background: var(--dark-2);
  border: 1px solid var(--line);
}

#testimonios .sat-card {
  padding: 18px;
}

#testimonios .sat-head {
  margin-bottom: 12px;
}

#testimonios .sat-score {
  font-size: 2rem;
}

#testimonios .sat-chart {
  height: 86px;
  gap: 7px;
}

#testimonios .sat-col {
  gap: 6px;
}

#testimonios .sat-col span {
  font-size: .62rem;
  letter-spacing: .04em;
}

#testimonios .survey-card {
  padding: 20px 18px;
}

#testimonios .survey-title {
  font-size: 1.45rem;
  line-height: 1;
  margin: 8px 0 10px;
}

#testimonios .survey-desc {
  font-size: .82rem;
  line-height: 1.5;
}

#testimonios .survey-btn {
  margin-top: 16px;
  padding: 12px 14px;
}

#testimonios .winner-link-btn {
  padding: 14px 16px;
  border-bottom: 2px solid rgba(255, 208, 0, .45);
}

#testimonios .winner-link-icon {
  width: 34px;
  height: 34px;
}

@keyframes testimonials-loop {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  #testimonios .tst-panel {
    grid-template-columns: 1fr;
  }

  #testimonios .tst-right {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #testimonios .survey-card {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  #testimonios .tst-panel {
    gap: 16px;
    margin-top: 34px;
  }

  #testimonios .reviews-head {
    padding: 20px 18px 12px;
  }

  #testimonios .reviews-title {
    font-size: 1.38rem;
  }

  #testimonios .reviews-count {
    display: none;
  }

  #testimonios .testimonial {
    flex-basis: 82vw;
    min-height: 210px;
    padding: 28px 24px;
  }

  #testimonios .tst-right {
    grid-template-columns: 1fr;
  }

  #testimonios .survey-card {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #testimonios .testimonials-track {
    animation: none;
  }
}

/* ═══════════════════════════════════════════
   CONTACTO
   ═══════════════════════════════════════════ */
#contacto {
  background: var(--dark-2);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact-info { padding-top: 20px; }

.contact-intro {
  font-size: .97rem;
  line-height: 1.85;
  color: var(--stone);
  margin: 20px 0 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--white-dim);
  font-size: .9rem;
}

.contact-item a {
  color: inherit;
  text-decoration: none;
  transition: color .3s;
}

.contact-item a:hover { color: var(--yellow); }

.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(212, 196, 131, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  font-size: 1rem;
  flex-shrink: 0;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #25D366;
  color: var(--white);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  margin-top: 28px;
  margin-bottom: 6px;
  transition: opacity .3s;
}

.btn-whatsapp:hover { opacity: .88; }

.contact-form { padding-top: 20px; }

.contact-form-intro {
  font-size: .9rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.form-group { margin-bottom: 14px; }

.form-group label {
  display: block;
  font-size: .67rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--white-ghost);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  padding: 13px 15px;
  outline: none;
  transition: border-color .3s;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-group input:focus,
.form-group textarea:focus { border-color: var(--yellow); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(247,246,242,.2); }

.btn-submit {
  width: 100%;
  background: var(--yellow);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  border: none;
  padding: 17px;
  cursor: pointer;
  transition: background .3s;
}

.btn-submit:hover { background: var(--yellow-dim); }

.form-note {
  font-size: .7rem;
  color: rgba(247,246,242,.25);
  text-align: center;
  margin-top: 12px;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
footer {
  background: var(--black);
  padding: 60px 52px 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-logo {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--white);
  text-decoration: none;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: .86rem;
  color: var(--stone);
  line-height: 1.7;
}

.footer-col h6 {
  font-size: .66rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a,
.footer-col ul span {
  font-size: .85rem;
  color: var(--stone);
  text-decoration: none;
  transition: color .3s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: .73rem;
  color: rgba(247,246,242,.2);
}


/* ═══════════════════════════════════════════
   FADE-UP SCROLL
   ═══════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════
   PÁGINA PROYECTO INDIVIDUAL
   ═══════════════════════════════════════════ */
.proj-hero {
  position: relative;
  height: 72vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.proj-hero-bg {
  position: absolute;
  inset: 0;
}

.proj-hero-bg img {
  width: 100%; height: 90%;
  object-fit: cover;
  filter: brightness(.4) saturate(.6);
}

.proj-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,13,11,.95) 0%, rgba(13,13,11,.25) 60%, transparent 100%);
}

.proj-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 52px 72px;
}

.proj-back {
  position: absolute;
  top: 110px; left: 52px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color .3s;
}

.proj-back::before { content: '←'; transition: transform .3s; }
.proj-back:hover { color: var(--yellow); }
.proj-back:hover::before { transform: translateX(-4px); }

.proj-hero-tag {
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}

.proj-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
  margin-bottom: 12px;
}

.proj-hero-loc {
  font-size: .88rem;
  color: var(--white-dim);
}

.proj-ficha {
  background: var(--dark-2);
  padding: 0 52px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid var(--line);
}

.ficha-item {
  padding: 28px 0;
}

.ficha-item:first-child {
  padding-right: 32px;
  border-right: 1px solid var(--line);
}

.ficha-item:last-child {
  padding-left: 32px;
}

.ficha-label {
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 8px;
}

.ficha-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
}

.proj-desc {
  background: var(--dark-2);
  padding: 100px 52px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.proj-desc-left { position: sticky; top: 100px; }

.proj-desc-right p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--stone);
  margin-bottom: 22px;
}

.proj-gallery {
  background: var(--dark);
  padding: 80px 52px;
}

.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-top: 48px;
}

.proj-gallery-item {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.proj-gallery-item.img-full {
  grid-column: 1 / -1;
  aspect-ratio: 21/9;
}

.proj-gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.7);
  transition: transform .6s ease, filter .4s;
  display: block;
}

.proj-gallery-item:hover img {
  transform: scale(1.05);
  filter: saturate(.9);
}

.proj-cta-section {
  background: var(--yellow);
  padding: 80px 52px;
  text-align: center;
}

.proj-cta-section .section-title {
  color: var(--black);
  margin-bottom: 20px;
}

.proj-cta-section .section-label {
  justify-content: center;
  color: rgba(13,13,11,.6);
}

.proj-cta-section .section-label::before { background: rgba(13,13,11,.4); }

.proj-cta-section p {
  color: rgba(13,13,11,.65);
  margin-bottom: 36px;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .project-card:first-child { grid-column: 1 / 3; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  #nosotros { grid-template-columns: 1fr; }
  .nosotros-img { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  #hero {
    min-height: 680px;
    align-items: center;
  }
  .hero-content {
    width: 100%;
    max-width: 760px;
    padding: 118px 40px 132px;
  }
  .hero-title {
    font-size: clamp(3.4rem, 9vw, 5.5rem);
  }
  .hero-sub {
    max-width: 560px;
  }
  .hero-scroll {
    bottom: 120px;
  }
  .hero-stats { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  section { padding: 64px 24px; }
  #hero {
    min-height: 720px;
    align-items: center;
  }
  .hero-content {
    padding: 104px 24px 128px;
    max-width: 640px;
  }
  .hero-eyebrow {
    margin-bottom: 18px;
    letter-spacing: .2em;
  }
  .hero-title {
    font-size: clamp(3rem, 13vw, 4.8rem);
    line-height: .96;
    margin-bottom: 22px;
  }
  .hero-sub {
    font-size: .98rem;
    line-height: 1.62;
    margin-bottom: 26px;
  }
  .hero-badge {
    margin-bottom: 28px;
  }
  .hero-scroll { display: none; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:last-child { display: none; }
  .hero-stat { padding: 16px 24px; }
  .hs-num { font-size: 1.8rem; }

  #nosotros  { grid-template-columns: 1fr; gap: 40px; }
  #contacto  { grid-template-columns: 1fr; gap: 40px; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card:first-child { grid-column: 1; aspect-ratio: 4/3; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .form-row { grid-template-columns: 1fr; }

  .proj-ficha { grid-template-columns: 1fr 1fr; padding: 0 24px; }
  .proj-desc { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; }
  .proj-desc-left { position: static; }
  .proj-gallery { padding: 60px 24px; }
  .proj-gallery-grid { grid-template-columns: 1fr 1fr; }
  .proj-gallery-grid .img-full { grid-column: 1 / -1; }
  .proj-cta-section { padding: 60px 24px; }
  .proj-back { left: 24px; }
  .proj-hero-content { padding: 0 24px 240px; }
}

@media (max-width: 560px) {
  #hero {
    min-height: 700px;
  }

  .hero-content {
    padding: 96px 22px 118px;
  }

  .hero-eyebrow {
    font-size: .62rem;
    gap: 10px;
  }

  .hero-eyebrow::before {
    width: 28px;
  }

  .hero-title {
    font-size: clamp(2.7rem, 15vw, 4.2rem);
  }

  .hero-sub {
    max-width: 100%;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-stat {
    justify-content: center;
    padding: 14px 22px;
    border-right: 0;
  }

  .hero-stat:nth-child(2) {
    display: none;
  }
}

@media (max-height: 760px) and (max-width: 1024px) {
  #hero {
    min-height: 620px;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 112px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 10vw, 4.8rem);
    margin-bottom: 18px;
  }

  .hero-sub {
    margin-bottom: 22px;
  }

  .hero-badge {
    margin-bottom: 24px;
  }
}

.svc-video-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 9px 18px;
  background: transparent;
  border: 1px solid rgba(230,191,35,.35);
  color: var(--yellow);
  font-family: 'DM Sans', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s, border-color .25s, color .25s;
}
 
.svc-video-btn svg {
  transition: transform .25s;
}
 
.svc-video-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
 
.svc-video-btn:hover svg {
  transform: scale(1.2);
}

/* ═══════════════════════════════════════════
   MODAL DE VIDEO
   ═══════════════════════════════════════════ */
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s ease;
}
 
.svc-modal.open {
  pointer-events: all;
  opacity: 1;
}
 
.svc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,5,4,.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
 
.svc-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: var(--dark-2);
  border-top: 3px solid var(--yellow);
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  transform: translateY(24px) scale(.97);
  transition: transform .35s cubic-bezier(.22,1,.36,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.6);
}
 
.svc-modal.open .svc-modal-box {
  transform: translateY(0) scale(1);
}
 
/* Cabecera del modal */
.svc-modal-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
 
.svc-modal-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--yellow);
  white-space: nowrap;
  padding-top: 4px;
}
 
.svc-modal-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  flex: 1;
  line-height: 1.1;
}
 
.svc-modal-close {
  background: none;
  border: 1px solid var(--line);
  color: var(--stone);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s, color .2s, background .2s;
}
 
.svc-modal-close:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: rgba(230,191,35,.07);
}
 
/* Área del reproductor */
.svc-modal-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  flex-shrink: 0;
}
 
/* Placeholder "próximamente" */
.svc-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark-3);
}
 
.svc-modal-placeholder-inner {
  text-align: center;
  padding: 32px;
}
 
.svc-modal-placeholder-inner p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--white);
  opacity: .45;
  margin: 16px 0 10px;
}
 
.svc-modal-placeholder-inner span {
  font-size: .78rem;
  color: var(--stone);
  opacity: .7;
  line-height: 1.7;
}
 
.svc-modal-placeholder-inner code {
  background: rgba(230,191,35,.12);
  color: var(--yellow);
  padding: 1px 6px;
  font-size: .72rem;
  font-family: monospace;
}
 
/* Pie del modal */
.svc-modal-footer {
  padding: 18px 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}
 
/* Responsive */
@media (max-width: 600px) {
  .svc-modal { padding: 12px; }
  .svc-modal-header { padding: 18px 18px 14px; gap: 10px; }
  .svc-modal-footer { padding: 14px 18px; }
  .svc-modal-label { display: none; }
  .svc-modal-title { font-size: 1.2rem; }
}



/* ═══════════════════════════════════════════
   SUCURSALES — MAPA
   ═══════════════════════════════════════════ */
#sucursales {
  background: var(--dark-2);
  padding: clamp(72px, 10vw, 120px) 0 0;
  border-top: 1px solid var(--line);
}
 
.branches-header {
  margin-bottom: 64px;
  padding: 0 clamp(24px, 6vw, 96px);
}
 
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  width: 100%;
}
 
/* ── Card de sucursal ── */
.branch-card {
  background: var(--dark-3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
 
/* Info superior */
.branch-info {
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) 28px;
  border-bottom: 1px solid var(--line);
}
 
.branch-tag {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 10px;
}
 
.branch-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 22px;
}
 
.branch-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
 
.branch-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .82rem;
  color: var(--stone);
  line-height: 1.5;
}
 
.branch-detail-row svg {
  color: var(--yellow);
  flex-shrink: 0;
  margin-top: 2px;
  opacity: .7;
}
 
.branch-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1px solid rgba(230,191,35,.3);
  padding: 10px 20px;
  text-decoration: none;
  transition: background .25s, border-color .25s, color .25s;
}
 
.branch-maps-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--black);
}
 
/* Mapa embed */
.branch-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}
 
.branch-map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  filter: saturate(.6) brightness(.85);
  transition: filter .4s ease;
}
 
.branch-map-wrap:hover iframe {
  filter: saturate(1) brightness(1);
}
 
/* Overlay táctil encima del mapa */
.branch-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(13,13,11,.45);
  text-decoration: none;
  opacity: 1;
  transition: opacity .35s ease, background .35s ease;
}
 
.branch-map-wrap:hover .branch-map-overlay {
  opacity: 0;
  pointer-events: none;
}
 
.branch-map-overlay-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  background: rgba(13,13,11,.6);
  backdrop-filter: blur(4px);
}
 
.branch-map-overlay span {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
  opacity: .75;
}
 
/* Responsive */
@media (max-width: 860px) {
  .branches-grid { grid-template-columns: 1fr; }
}


/* ═══════════════════════════════════════════
   SATISFACCIÓN + ENCUESTA
   ═══════════════════════════════════════════ */
 
/* ── Bloque de satisfacción ── */
.sat-block {
  background: var(--dark-2);
  padding: 36px 32px 32px;
  border-top: 3px solid var(--yellow);
}
 
.sat-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 12px;
}
 
.sat-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--stone);
}
 
.sat-score {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
}
 
.sat-score span {
  font-size: 1rem;
  color: var(--stone);
  font-weight: 400;
}
 
.sat-bars {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
.sat-bar-row {
  display: grid;
  grid-template-columns: 80px 1fr 36px;
  align-items: center;
  gap: 10px;
}
 
.sat-stars {
  font-size: .78rem;
  color: var(--yellow);
  letter-spacing: .05em;
  white-space: nowrap;
}
 
.sat-stars span {
  color: var(--dark-3);
  filter: brightness(2.5);
  opacity: .25;
}
 
.sat-track {
  height: 6px;
  background: var(--dark-3);
  overflow: hidden;
}
 
.sat-fill {
  height: 100%;
  width: 0%;
  background: var(--yellow);
  transition: width 1.2s cubic-bezier(.22,1,.36,1);
}
 
.sat-pct {
  font-size: .68rem;
  color: var(--stone);
  text-align: right;
  font-weight: 500;
}
 
.sat-meta {
  font-size: .65rem;
  color: var(--stone);
  opacity: .55;
  margin-top: 20px;
  letter-spacing: .06em;
}
 
/* ── Bloque de encuesta ── */
.survey-block {
  background: var(--dark-2);
  overflow: hidden;
}
 
.survey-promo {
  background: var(--yellow);
  padding: 14px 24px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .74rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.5;
}
 
.survey-promo svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--black);
}
 
.survey-body {
  padding: 32px 32px 36px;
}
 
.survey-icon {
  width: 52px; height: 52px;
  border: 1px solid rgba(230,191,35,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  margin-bottom: 20px;
}
 
.survey-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 10px;
}
 
.survey-desc {
  font-size: .85rem;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 20px;
}
 
.survey-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
 
.survey-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .78rem;
  color: var(--white-dim);
}
 
.survey-item svg {
  color: var(--yellow);
  flex-shrink: 0;
}
 
.survey-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  width: 100%;
  justify-content: center;
  transition: background .25s, color .25s;
}
 
.survey-btn:hover {
  background: var(--white);
  color: var(--black);
}
 
.survey-time {
  text-align: center;
  font-size: .68rem;
  color: var(--stone);
  margin-top: 12px;
  letter-spacing: .08em;
}
 
/* ── Responsive ── */
@media (max-width: 1100px) {
  .tst-layout {
    grid-template-columns: 1fr 360px;
  }
}
 
@media (max-width: 860px) {
  .tst-layout {
    grid-template-columns: 1fr;
  }
  .tst-right {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .sat-block, .survey-block {
    flex: 1;
    min-width: 280px;
  }
}
 
@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; }
  .tst-right { flex-direction: column; }
  .sat-block, .survey-block { min-width: unset; }
}

/* ── Botón enlace ganador ── */
.winner-link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: var(--dark-3);
  border-top: 1px solid var(--line);
  border-bottom: 3px solid var(--yellow);
  text-decoration: none;
  transition: background .25s;
  cursor: pointer;
}
 
.winner-link-btn:hover {
  background: rgba(230,191,35,.07);
}
 
.winner-link-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
}
 
.winner-link-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--yellow);
}
 
.winner-link-sub {
  font-size: .72rem;
  color: var(--stone);
  margin-top: 3px;
  transition: color .25s;
}
 
.winner-link-btn:hover .winner-link-sub {
  color: var(--white-dim);
}
 
/* ─── Reset de página ─── */
    html, body { height: 100%; }
 
    body.ganador-page {
      background: #f5f4f0;
      color: #1a1a18;
      min-height: 100vh;
    }
 
    /* ─── Canvas confeti ─── */
    #confetti-canvas {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      pointer-events: none;
      z-index: 500;
      display: none;
    }
 
    /* ─── Wrapper principal ─── */
    .gp-wrap {
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 100px clamp(20px, 5vw, 60px) 60px;
    }
 
    /* ─── Back button ─── */
    .gp-back {
      position: fixed;
      top: 84px;
      left: clamp(16px, 4vw, 48px);
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .14em;
      text-transform: uppercase;
      color: #7a7a72;
      text-decoration: none;
      transition: color .2s;
      z-index: 100;
    }
    .gp-back:hover { color: #1a1a18; }
    .gp-back svg { transition: transform .2s; }
    .gp-back:hover svg { transform: translateX(-3px); }
 
    /* ─── Tarjeta central ─── */
    .gp-card {
      background: #fff;
      width: 100%;
      max-width: 520px;
      box-shadow: 0 2px 40px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.04);
      overflow: hidden;
      position: relative;
      z-index: 10;
    }
 
    /* Franja amarilla top */
    .gp-card-stripe {
      height: 4px;
      background: var(--yellow);
    }
 
    .gp-card-body {
      padding: clamp(32px, 5vw, 52px);
    }
 
    /* ─── Mes badge ─── */
    .gp-month {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: .62rem;
      font-weight: 700;
      letter-spacing: .24em;
      text-transform: uppercase;
      color: #7a7a72;
      margin-bottom: 28px;
    }
    .gp-month::before {
      content: '';
      width: 20px; height: 2px;
      background: var(--yellow);
    }
 
    /* ─── ESTADO: formulario ─── */
    .gp-form-icon {
      width: 56px; height: 56px;
      background: #f5f4f0;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
    }
    .gp-form-icon svg { color: #1a1a18; }
 
    .gp-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(1.8rem, 5vw, 2.8rem);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .03em;
      color: #1a1a18;
      line-height: 1.05;
      margin-bottom: 10px;
    }
 
    .gp-sub {
      font-size: .88rem;
      color: #7a7a72;
      line-height: 1.7;
      margin-bottom: 28px;
    }
 
    /* Input + botón */
    .gp-input-row {
      display: flex;
      gap: 0;
      margin-bottom: 10px;
    }
 
    .gp-input {
      flex: 1;
      border: 1.5px solid #e0dfd8;
      border-right: none;
      background: #fafaf8;
      color: #1a1a18;
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.25rem;
      font-weight: 600;
      letter-spacing: .08em;
      padding: 14px 18px;
      outline: none;
      transition: border-color .2s, background .2s;
      min-width: 0;
    }
    .gp-input:focus {
      border-color: var(--yellow);
      background: #fff;
    }
    .gp-input::placeholder {
      color: #b0afa8;
      font-weight: 400;
      font-size: 1rem;
      letter-spacing: .04em;
    }
 
    .gp-verify-btn {
      background: #1a1a18;
      color: #f5f4f0;
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-size: .72rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      padding: 14px 22px;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: background .2s;
      white-space: nowrap;
      flex-shrink: 0;
    }
    .gp-verify-btn:hover { background: var(--yellow); color: #1a1a18; }
 
    .gp-error {
      font-size: .76rem;
      color: #d04040;
      min-height: 18px;
      margin-bottom: 16px;
    }
 
    .gp-privacy {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: .68rem;
      color: #b0afa8;
      letter-spacing: .04em;
      margin-top: 6px;
    }
 
    /* ─── ESTADO: ganador ─── */
    .gp-winner-top {
      text-align: center;
      padding-bottom: 28px;
      border-bottom: 1px solid #f0efea;
      margin-bottom: 24px;
    }
 
    .gp-trophy {
      font-size: 3.5rem;
      display: block;
      margin-bottom: 12px;
      animation: trophyPop .6s cubic-bezier(.34,1.56,.64,1) both;
    }
    @keyframes trophyPop {
      from { transform: scale(0) rotate(-15deg); opacity: 0; }
      to   { transform: scale(1) rotate(0deg);   opacity: 1; }
    }
 
    .gp-winner-label {
      font-size: .64rem;
      font-weight: 700;
      letter-spacing: .28em;
      text-transform: uppercase;
      color: #b0afa8;
      margin-bottom: 8px;
    }
 
    .gp-winner-name {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: clamp(2.2rem, 7vw, 3.6rem);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .03em;
      color: #1a1a18;
      line-height: 1;
      animation: nameSlide .5s .2s cubic-bezier(.22,1,.36,1) both;
    }
    @keyframes nameSlide {
      from { transform: translateY(12px); opacity: 0; }
      to   { transform: translateY(0);    opacity: 1; }
    }
 
    /* Info de descuento */
    .gp-promo {
      background: #fffbea;
      border: 1px solid rgba(230,191,35,.3);
      padding: 20px 22px;
      margin-bottom: 20px;
    }
 
    .gp-promo-title {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 1.1rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .04em;
      color: #1a1a18;
      margin-bottom: 6px;
    }
 
    .gp-promo-text {
      font-size: .82rem;
      color: #6a6a62;
      line-height: 1.7;
    }
    .gp-promo-text strong { color: #1a1a18; }
 
    /* Días restantes */
    .gp-days-row {
      display: flex;
      align-items: center;
      gap: 10px;
      margin: 16px 0 10px;
    }
    .gp-days-num {
      font-family: 'Barlow Condensed', sans-serif;
      font-size: 2.4rem;
      font-weight: 700;
      color: var(--yellow);
      line-height: 1;
      background: #1a1a18;
      padding: 4px 16px;
    }
    .gp-days-label {
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: #7a7a72;
      line-height: 1.4;
    }
 
    /* Barra progreso */
    .gp-bar-track {
      height: 4px;
      background: #f0efea;
      margin-bottom: 20px;
    }
    .gp-bar-fill {
      height: 100%;
      background: var(--yellow);
      transition: width 1.2s cubic-bezier(.22,1,.36,1);
    }
 
    /* Botón canjear */
    .gp-canjear {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: #1a1a18;
      color: var(--yellow);
      text-decoration: none;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
      padding: 16px;
      width: 100%;
      transition: background .2s;
    }
    .gp-canjear:hover { background: var(--yellow); color: #1a1a18; }
 
    /* ─── ESTADO: no ganador ─── */
    .gp-nope-icon {
      width: 56px; height: 56px;
      background: #f5f4f0;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      font-size: 1.6rem;
    }
 
    .gp-tip {
      display: flex;
      gap: 10px;
      background: #f5f4f0;
      border-left: 3px solid var(--yellow);
      padding: 14px 16px;
      font-size: .82rem;
      color: #6a6a62;
      line-height: 1.65;
      margin: 20px 0 24px;
    }
    .gp-tip svg { flex-shrink: 0; color: #b8a840; margin-top: 2px; }
 
    .gp-survey-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--yellow);
      color: #1a1a18;
      text-decoration: none;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .16em;
      text-transform: uppercase;
      padding: 16px;
      width: 100%;
      transition: background .2s;
      margin-bottom: 10px;
    }
    .gp-survey-btn:hover { background: #1a1a18; color: var(--yellow); }
 
    .gp-retry-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: none;
      border: 1.5px solid #e0dfd8;
      color: #7a7a72;
      font-family: 'DM Sans', sans-serif;
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .12em;
      text-transform: uppercase;
      padding: 13px;
      width: 100%;
      cursor: pointer;
      transition: border-color .2s, color .2s;
    }
    .gp-retry-btn:hover { border-color: #1a1a18; color: #1a1a18; }
 
    /* ─── Hidden util ─── */
    .gp-hidden { display: none !important; }
 
    @media (max-width: 480px) {
      .gp-input-row { flex-direction: column; }
      .gp-input { border-right: 1.5px solid #e0dfd8; border-bottom: none; }
      .gp-verify-btn { width: 100%; justify-content: center; }
      .gp-back { top: 78px; }
    }

    /* ═══════════════════════════════════════════
   BOTONES FLOTANTES — REDES SOCIALES
   ═══════════════════════════════════════════ */
.social-float {
  position: fixed;
  right: 24px;
  bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1200;
}
 
.social-fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1),
              box-shadow .25s ease,
              filter .25s ease;
  position: relative;
}
 
.social-fab:hover {
  animation-play-state: paused;
  transform: translateY(-5px) scale(1.14);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  filter: brightness(1.1);
}
 
/* Tooltip al hover */
.social-fab::after {
  content: attr(title);
  position: absolute;
  right: 58px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13,13,11,.85);
  color: var(--white);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 5px 10px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: blur(4px);
}
 
.social-fab:hover::after {
  opacity: 1;
}
 
/* ── Facebook: azul oficial #1877F2 ── */
.social-fab--fb {
  background: #1877F2;
}
 
/* ── Instagram: gradiente oficial ── */
.social-fab--ig {
  background: radial-gradient(circle at 30% 110%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%
  );
}
 
/* Animación de entrada al cargar */
.social-fab {
  animation: fabEntry .5s cubic-bezier(.34,1.56,.64,1) both;
}
.social-fab--fb { animation-delay: .1s; }
.social-fab--ig { animation-delay: .2s; }
 
@keyframes fabEntry {
  from { opacity: 0; transform: scale(0) translateX(20px); }
  to   { opacity: 1; transform: scale(1) translateX(0); }
}
 
/* En mobile reducir un poco */
@media (max-width: 480px) {
  .social-float { right: 14px; bottom: 20px; gap: 10px; }
  .social-fab { width: 44px; height: 44px; }
  .social-fab::after { display: none; }
}

/* ─── Flotación constante + brillo por red ─── */

.social-fab {
  overflow: visible;
  animation:
    fabEntry .5s cubic-bezier(.34,1.56,.64,1) both,
    socialFloat 3.4s ease-in-out infinite;
}

.social-fab--fb {
  animation-delay: .1s, .6s;
}

.social-fab--ig {
  animation-delay: .2s, 1s;
}

/* Subrayado brillante */
.social-fab::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 28px;
  height: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  opacity: .75;
  filter: blur(.2px);
  animation: socialGlow 2.6s ease-in-out infinite;
}

.social-fab--fb::before {
  background: #1877F2;
  box-shadow:
    0 0 8px rgba(24, 119, 242, .9),
    0 0 18px rgba(24, 119, 242, .55);
}

.social-fab--ig::before {
  background: linear-gradient(90deg, #fd5949, #d6249f, #285AEB);
  box-shadow:
    0 0 8px rgba(214, 36, 159, .9),
    0 0 18px rgba(253, 89, 73, .45);
}

/* Sombrilla suave debajo, refuerza sensación de flotación */
.social-fab span,
.social-fab svg {
  position: relative;
  z-index: 1;
}

@keyframes socialFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-7px) scale(1.03);
  }
}

@keyframes socialGlow {
  0%, 100% {
    opacity: .45;
    width: 22px;
  }

  50% {
    opacity: 1;
    width: 34px;
  }
}
